﻿@model Management.Core.News.News

@{
    ViewBag.title = "新闻详情";
}

@section SideNav{@Html.Partial("SideNavPartialView")}
<ol class="breadcrumb">
    <li><span class="glyphicon glyphicon-home"></span>  @Html.ActionLink("首页", "Index", "Home")</li>
    <li>@Html.ActionLink("新闻动态", "Index", "News")</li>
    <li class="active">新闻详情</li>
</ol>
@using(Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <div class="form-horizontal">
        @Html.ValidationSummary(true, "", new { @class = "text-danger"})

        <div class="jumbotron">
            <div class="header" style="text-align:center">
                <h1>@Html.DisplayFor(model => model.Title)</h1><small>作者：@Html.DisplayFor(model => model.Author) &nbsp; 类型：@Html.DisplayFor(model => model.ContentType)</small>
            </div>
            <div class="container">
                @Html.Raw(System.Web.HttpUtility.HtmlDecode(@Html.DisplayFor(model=>model.Content).ToString()))
            </div>
            <div class="footer" style="text-align:right">
                @Html.DisplayFor(model => model.Created_at)
            </div>
        </div>
    </div>
    
    <div class="">

    </div>
}
